package cn.melonlib.graphql.model.support;

import cn.melonlib.graphql.annos.GraphqlField;
import cn.melonlib.graphql.annos.GraphqlType;
import cn.melonlib.objects.maps.JsonMap;
import lombok.Getter;

import java.util.Map;

@GraphqlType(comment = "对象型包装",namespaces = "*")
@Getter
public class GraphqlObjectValue {

    public GraphqlObjectValue(JsonMap<Object> value) {
        this.value = value;
    }

    @GraphqlField(comment = "对型包装")
    private final JsonMap<Object> value;
}
